package com.dyzx.hbb.modules.sys.query;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "操作日志查询参数")
public class LogOperationQuery {

    @Schema(description = "操作类型", example = "1")
    @JsonProperty("type")
    private String type;

    @Schema(description = "请求方式", example = "GET")
    @JsonProperty("mode")
    private String mode;

    @Schema(description = "请求地址", example = "/api/resource")
    @JsonProperty("url")
    private String url;

    @Schema(description = "模块名称", example = "用户管理")
    @JsonProperty("model")
    private String model;

    @Schema(description = "账户编号", example = "12345")
    @JsonProperty("userId")
    private Long userId;

    @Schema(description = "账户", example = "admin")
    @JsonProperty("account")
    private String account;

    @Schema(description = "IP地址", example = "192.168.1.1")
    @JsonProperty("ip")
    private String ip;

    @Schema(description = "终端", example = "PC")
    @JsonProperty("terminal")
    private String terminal;
    @Schema(description = "开始时间")
    @JsonProperty("create_date")
    private String createDate;


    // Getters and Setters
}
